$(function () {
    var fn = ABUS.Fn;

    fn.get({
        url: "/common/login/getUserInfo",
        success: function (data) {
            if (data.result === 1) {
                var _data = data.data;
                $('#wode').renderTemp(_data);

                $(".login_out").on("touchend", function () {
                    fn.page_goto({
                        url: "../../denglu/denglu.html"
                    })
                });
                $(".history_business").on("touchend", function () {
                    fn.page_goto({
                        url: "./yewuyuan_wode_history.html"
                    })
                })
            } else {
                fn.alert({
                    type: "error",
                    title: data.message
                })
            }
        }
    });

});